@if ($errors->any())
    <div role="alert" class="alert alert-warning alert-icon alert-dismissible">
        <div class="icon"><span class="mdi mdi-alert-triangle"></span></div>
        <div class="message">
            <button type="button" data-dismiss="alert" aria-label="Close" class="close"><span aria-hidden="true" class="mdi mdi-close"></span>
            </button>
            <ul>
                @foreach ($errors->all() as $error)
                    <li>{{ $error }}</li>
                @endforeach
            </ul>
        </div>
    </div>
@endif